
#ifndef __LOG_TARGET_INTERFACE__
#define __LOG_TARGET_INTERFACE__

#include <string>
#include "Logutil.h"
#include "Entry/TExportUtil.h"

namespace woe
{

	class TUTIL_API LogTarget
	{
	public:
		virtual ~LogTarget(){}

		//
		//	initialize target
		//
		virtual bool initialize() = 0;

		//
		//	send log to target
		virtual void doLog(const string& msg, const string& ll, const TimeStamp& ts) = 0;
	};

}

#endif
